package com.qiqi.domain;

import java.util.ArrayList;
import java.util.List;

public class FeeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = -1;

    protected int limitEnd = -1;

    public FeeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(int limitEnd) {
        this.limitEnd=limitEnd;
    }

    public int getLimitEnd() {
        return limitEnd;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(Float value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(Float value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(Float value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(Float value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(Float value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(Float value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<Float> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<Float> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(Float value1, Float value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(Float value1, Float value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andInTimeIsNull() {
            addCriterion("in_time is null");
            return (Criteria) this;
        }

        public Criteria andInTimeIsNotNull() {
            addCriterion("in_time is not null");
            return (Criteria) this;
        }

        public Criteria andInTimeEqualTo(Float value) {
            addCriterion("in_time =", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeNotEqualTo(Float value) {
            addCriterion("in_time <>", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeGreaterThan(Float value) {
            addCriterion("in_time >", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeGreaterThanOrEqualTo(Float value) {
            addCriterion("in_time >=", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeLessThan(Float value) {
            addCriterion("in_time <", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeLessThanOrEqualTo(Float value) {
            addCriterion("in_time <=", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeIn(List<Float> values) {
            addCriterion("in_time in", values, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeNotIn(List<Float> values) {
            addCriterion("in_time not in", values, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeBetween(Float value1, Float value2) {
            addCriterion("in_time between", value1, value2, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeNotBetween(Float value1, Float value2) {
            addCriterion("in_time not between", value1, value2, "inTime");
            return (Criteria) this;
        }

        public Criteria andInMbIsNull() {
            addCriterion("in_mb is null");
            return (Criteria) this;
        }

        public Criteria andInMbIsNotNull() {
            addCriterion("in_mb is not null");
            return (Criteria) this;
        }

        public Criteria andInMbEqualTo(Float value) {
            addCriterion("in_mb =", value, "inMb");
            return (Criteria) this;
        }

        public Criteria andInMbNotEqualTo(Float value) {
            addCriterion("in_mb <>", value, "inMb");
            return (Criteria) this;
        }

        public Criteria andInMbGreaterThan(Float value) {
            addCriterion("in_mb >", value, "inMb");
            return (Criteria) this;
        }

        public Criteria andInMbGreaterThanOrEqualTo(Float value) {
            addCriterion("in_mb >=", value, "inMb");
            return (Criteria) this;
        }

        public Criteria andInMbLessThan(Float value) {
            addCriterion("in_mb <", value, "inMb");
            return (Criteria) this;
        }

        public Criteria andInMbLessThanOrEqualTo(Float value) {
            addCriterion("in_mb <=", value, "inMb");
            return (Criteria) this;
        }

        public Criteria andInMbIn(List<Float> values) {
            addCriterion("in_mb in", values, "inMb");
            return (Criteria) this;
        }

        public Criteria andInMbNotIn(List<Float> values) {
            addCriterion("in_mb not in", values, "inMb");
            return (Criteria) this;
        }

        public Criteria andInMbBetween(Float value1, Float value2) {
            addCriterion("in_mb between", value1, value2, "inMb");
            return (Criteria) this;
        }

        public Criteria andInMbNotBetween(Float value1, Float value2) {
            addCriterion("in_mb not between", value1, value2, "inMb");
            return (Criteria) this;
        }

        public Criteria andInSmsIsNull() {
            addCriterion("in_sms is null");
            return (Criteria) this;
        }

        public Criteria andInSmsIsNotNull() {
            addCriterion("in_sms is not null");
            return (Criteria) this;
        }

        public Criteria andInSmsEqualTo(Integer value) {
            addCriterion("in_sms =", value, "inSms");
            return (Criteria) this;
        }

        public Criteria andInSmsNotEqualTo(Integer value) {
            addCriterion("in_sms <>", value, "inSms");
            return (Criteria) this;
        }

        public Criteria andInSmsGreaterThan(Integer value) {
            addCriterion("in_sms >", value, "inSms");
            return (Criteria) this;
        }

        public Criteria andInSmsGreaterThanOrEqualTo(Integer value) {
            addCriterion("in_sms >=", value, "inSms");
            return (Criteria) this;
        }

        public Criteria andInSmsLessThan(Integer value) {
            addCriterion("in_sms <", value, "inSms");
            return (Criteria) this;
        }

        public Criteria andInSmsLessThanOrEqualTo(Integer value) {
            addCriterion("in_sms <=", value, "inSms");
            return (Criteria) this;
        }

        public Criteria andInSmsIn(List<Integer> values) {
            addCriterion("in_sms in", values, "inSms");
            return (Criteria) this;
        }

        public Criteria andInSmsNotIn(List<Integer> values) {
            addCriterion("in_sms not in", values, "inSms");
            return (Criteria) this;
        }

        public Criteria andInSmsBetween(Integer value1, Integer value2) {
            addCriterion("in_sms between", value1, value2, "inSms");
            return (Criteria) this;
        }

        public Criteria andInSmsNotBetween(Integer value1, Integer value2) {
            addCriterion("in_sms not between", value1, value2, "inSms");
            return (Criteria) this;
        }

        public Criteria andInAnswerfeeIsNull() {
            addCriterion("in_answerfee is null");
            return (Criteria) this;
        }

        public Criteria andInAnswerfeeIsNotNull() {
            addCriterion("in_answerfee is not null");
            return (Criteria) this;
        }

        public Criteria andInAnswerfeeEqualTo(String value) {
            addCriterion("in_answerfee =", value, "inAnswerfee");
            return (Criteria) this;
        }

        public Criteria andInAnswerfeeNotEqualTo(String value) {
            addCriterion("in_answerfee <>", value, "inAnswerfee");
            return (Criteria) this;
        }

        public Criteria andInAnswerfeeGreaterThan(String value) {
            addCriterion("in_answerfee >", value, "inAnswerfee");
            return (Criteria) this;
        }

        public Criteria andInAnswerfeeGreaterThanOrEqualTo(String value) {
            addCriterion("in_answerfee >=", value, "inAnswerfee");
            return (Criteria) this;
        }

        public Criteria andInAnswerfeeLessThan(String value) {
            addCriterion("in_answerfee <", value, "inAnswerfee");
            return (Criteria) this;
        }

        public Criteria andInAnswerfeeLessThanOrEqualTo(String value) {
            addCriterion("in_answerfee <=", value, "inAnswerfee");
            return (Criteria) this;
        }

        public Criteria andInAnswerfeeLike(String value) {
            addCriterion("in_answerfee like", value, "inAnswerfee");
            return (Criteria) this;
        }

        public Criteria andInAnswerfeeNotLike(String value) {
            addCriterion("in_answerfee not like", value, "inAnswerfee");
            return (Criteria) this;
        }

        public Criteria andInAnswerfeeIn(List<String> values) {
            addCriterion("in_answerfee in", values, "inAnswerfee");
            return (Criteria) this;
        }

        public Criteria andInAnswerfeeNotIn(List<String> values) {
            addCriterion("in_answerfee not in", values, "inAnswerfee");
            return (Criteria) this;
        }

        public Criteria andInAnswerfeeBetween(String value1, String value2) {
            addCriterion("in_answerfee between", value1, value2, "inAnswerfee");
            return (Criteria) this;
        }

        public Criteria andInAnswerfeeNotBetween(String value1, String value2) {
            addCriterion("in_answerfee not between", value1, value2, "inAnswerfee");
            return (Criteria) this;
        }

        public Criteria andOutDialfeeIsNull() {
            addCriterion("out_dialfee is null");
            return (Criteria) this;
        }

        public Criteria andOutDialfeeIsNotNull() {
            addCriterion("out_dialfee is not null");
            return (Criteria) this;
        }

        public Criteria andOutDialfeeEqualTo(Float value) {
            addCriterion("out_dialfee =", value, "outDialfee");
            return (Criteria) this;
        }

        public Criteria andOutDialfeeNotEqualTo(Float value) {
            addCriterion("out_dialfee <>", value, "outDialfee");
            return (Criteria) this;
        }

        public Criteria andOutDialfeeGreaterThan(Float value) {
            addCriterion("out_dialfee >", value, "outDialfee");
            return (Criteria) this;
        }

        public Criteria andOutDialfeeGreaterThanOrEqualTo(Float value) {
            addCriterion("out_dialfee >=", value, "outDialfee");
            return (Criteria) this;
        }

        public Criteria andOutDialfeeLessThan(Float value) {
            addCriterion("out_dialfee <", value, "outDialfee");
            return (Criteria) this;
        }

        public Criteria andOutDialfeeLessThanOrEqualTo(Float value) {
            addCriterion("out_dialfee <=", value, "outDialfee");
            return (Criteria) this;
        }

        public Criteria andOutDialfeeIn(List<Float> values) {
            addCriterion("out_dialfee in", values, "outDialfee");
            return (Criteria) this;
        }

        public Criteria andOutDialfeeNotIn(List<Float> values) {
            addCriterion("out_dialfee not in", values, "outDialfee");
            return (Criteria) this;
        }

        public Criteria andOutDialfeeBetween(Float value1, Float value2) {
            addCriterion("out_dialfee between", value1, value2, "outDialfee");
            return (Criteria) this;
        }

        public Criteria andOutDialfeeNotBetween(Float value1, Float value2) {
            addCriterion("out_dialfee not between", value1, value2, "outDialfee");
            return (Criteria) this;
        }

        public Criteria andOutMbIsNull() {
            addCriterion("out_mb is null");
            return (Criteria) this;
        }

        public Criteria andOutMbIsNotNull() {
            addCriterion("out_mb is not null");
            return (Criteria) this;
        }

        public Criteria andOutMbEqualTo(Float value) {
            addCriterion("out_mb =", value, "outMb");
            return (Criteria) this;
        }

        public Criteria andOutMbNotEqualTo(Float value) {
            addCriterion("out_mb <>", value, "outMb");
            return (Criteria) this;
        }

        public Criteria andOutMbGreaterThan(Float value) {
            addCriterion("out_mb >", value, "outMb");
            return (Criteria) this;
        }

        public Criteria andOutMbGreaterThanOrEqualTo(Float value) {
            addCriterion("out_mb >=", value, "outMb");
            return (Criteria) this;
        }

        public Criteria andOutMbLessThan(Float value) {
            addCriterion("out_mb <", value, "outMb");
            return (Criteria) this;
        }

        public Criteria andOutMbLessThanOrEqualTo(Float value) {
            addCriterion("out_mb <=", value, "outMb");
            return (Criteria) this;
        }

        public Criteria andOutMbIn(List<Float> values) {
            addCriterion("out_mb in", values, "outMb");
            return (Criteria) this;
        }

        public Criteria andOutMbNotIn(List<Float> values) {
            addCriterion("out_mb not in", values, "outMb");
            return (Criteria) this;
        }

        public Criteria andOutMbBetween(Float value1, Float value2) {
            addCriterion("out_mb between", value1, value2, "outMb");
            return (Criteria) this;
        }

        public Criteria andOutMbNotBetween(Float value1, Float value2) {
            addCriterion("out_mb not between", value1, value2, "outMb");
            return (Criteria) this;
        }

        public Criteria andOutVideodialfeeIsNull() {
            addCriterion("out_videodialfee is null");
            return (Criteria) this;
        }

        public Criteria andOutVideodialfeeIsNotNull() {
            addCriterion("out_videodialfee is not null");
            return (Criteria) this;
        }

        public Criteria andOutVideodialfeeEqualTo(Float value) {
            addCriterion("out_videodialfee =", value, "outVideodialfee");
            return (Criteria) this;
        }

        public Criteria andOutVideodialfeeNotEqualTo(Float value) {
            addCriterion("out_videodialfee <>", value, "outVideodialfee");
            return (Criteria) this;
        }

        public Criteria andOutVideodialfeeGreaterThan(Float value) {
            addCriterion("out_videodialfee >", value, "outVideodialfee");
            return (Criteria) this;
        }

        public Criteria andOutVideodialfeeGreaterThanOrEqualTo(Float value) {
            addCriterion("out_videodialfee >=", value, "outVideodialfee");
            return (Criteria) this;
        }

        public Criteria andOutVideodialfeeLessThan(Float value) {
            addCriterion("out_videodialfee <", value, "outVideodialfee");
            return (Criteria) this;
        }

        public Criteria andOutVideodialfeeLessThanOrEqualTo(Float value) {
            addCriterion("out_videodialfee <=", value, "outVideodialfee");
            return (Criteria) this;
        }

        public Criteria andOutVideodialfeeIn(List<Float> values) {
            addCriterion("out_videodialfee in", values, "outVideodialfee");
            return (Criteria) this;
        }

        public Criteria andOutVideodialfeeNotIn(List<Float> values) {
            addCriterion("out_videodialfee not in", values, "outVideodialfee");
            return (Criteria) this;
        }

        public Criteria andOutVideodialfeeBetween(Float value1, Float value2) {
            addCriterion("out_videodialfee between", value1, value2, "outVideodialfee");
            return (Criteria) this;
        }

        public Criteria andOutVideodialfeeNotBetween(Float value1, Float value2) {
            addCriterion("out_videodialfee not between", value1, value2, "outVideodialfee");
            return (Criteria) this;
        }

        public Criteria andOtherIsNull() {
            addCriterion("other is null");
            return (Criteria) this;
        }

        public Criteria andOtherIsNotNull() {
            addCriterion("other is not null");
            return (Criteria) this;
        }

        public Criteria andOtherEqualTo(String value) {
            addCriterion("other =", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotEqualTo(String value) {
            addCriterion("other <>", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherGreaterThan(String value) {
            addCriterion("other >", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherGreaterThanOrEqualTo(String value) {
            addCriterion("other >=", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherLessThan(String value) {
            addCriterion("other <", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherLessThanOrEqualTo(String value) {
            addCriterion("other <=", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherLike(String value) {
            addCriterion("other like", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotLike(String value) {
            addCriterion("other not like", value, "other");
            return (Criteria) this;
        }

        public Criteria andOtherIn(List<String> values) {
            addCriterion("other in", values, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotIn(List<String> values) {
            addCriterion("other not in", values, "other");
            return (Criteria) this;
        }

        public Criteria andOtherBetween(String value1, String value2) {
            addCriterion("other between", value1, value2, "other");
            return (Criteria) this;
        }

        public Criteria andOtherNotBetween(String value1, String value2) {
            addCriterion("other not between", value1, value2, "other");
            return (Criteria) this;
        }

        public Criteria andCidIsNull() {
            addCriterion("cid is null");
            return (Criteria) this;
        }

        public Criteria andCidIsNotNull() {
            addCriterion("cid is not null");
            return (Criteria) this;
        }

        public Criteria andCidEqualTo(Integer value) {
            addCriterion("cid =", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotEqualTo(Integer value) {
            addCriterion("cid <>", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThan(Integer value) {
            addCriterion("cid >", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThanOrEqualTo(Integer value) {
            addCriterion("cid >=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThan(Integer value) {
            addCriterion("cid <", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThanOrEqualTo(Integer value) {
            addCriterion("cid <=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidIn(List<Integer> values) {
            addCriterion("cid in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotIn(List<Integer> values) {
            addCriterion("cid not in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidBetween(Integer value1, Integer value2) {
            addCriterion("cid between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotBetween(Integer value1, Integer value2) {
            addCriterion("cid not between", value1, value2, "cid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}